<?php
include '../config/config.inc';
$conn = mysql_connect(DB_HOST,DB_USER,DB_PASSWORD);
if(!$conn){
	echo mysql_error();
}
$db=mysql_select_db(DB_DATABASE);
if(!$db){
	mysql_error();
	}
	$name=$_POST['name'];
	$email=$_POST['email'];
	$We=mysql_query("INSERT INTO `subscription` VALUES(null,'$name','$email')");
	if (!$We){
		echo mysql_error();
	}
	
	
?>